package cn.tedu.ivos.dict.pojo.dto;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.NotNull;
import jakarta.validation.constraints.Pattern;
import lombok.Data;
import org.springframework.format.annotation.NumberFormat;

@Data
public class DictAddParam {
    @Schema(description = "自增ID")
    private Long id;
    @Schema(description = "字典名称")
    @NotBlank(message = "字典名称不能为空")
    private String name;
    @Schema(description = "字典编码")
    @NotBlank(message = "字典编码不能为空")
    private String code;
    @Schema(description = "备注")
    private String remark;
}
